"""
品牌管理视图
"""
from rest_framework.viewsets import ModelViewSet
from goods.models import Brand
from meiduo_admin.serializers.brand_serializers import *
from meiduo_admin.paginations import MyPage

class BrandView(ModelViewSet):
    queryset = Brand.objects.all()
    serializer_class = BrandModelSerializer
    pagination_class = MyPage